<%@ page title="" language="C#" masterpagefile="~/RealtimeSite.master" autoeventwireup="true" inherits="CompanyList, App_Web_odyrwiur" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" Runat="Server">
<style>
.card [class*=card-header-]:not(.card-header-icon):not(.card-header-text):not(.card-header-image) {
    border-radius: 3px;
    margin-top: -20px;
    padding: 7px;
    padding-left: 10px;
}
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    padding: 7px 8px;
    vertical-align: middle;
    border-color: #ddd;
}

</style>
 
      <div class="container" id="companylist" runat="server">

   <div class="row dash-pane2">	
		
                       <div class="card">     
                       <div class="card-header card-header-warning" >
                  <h4 class="card-title"><i class="fa fa-list fa-fw"></i><asp:Label ID="lblListofCompany" runat="server" Text="List of Company"></asp:Label></h4>
               
                </div>    
                        <div class=" card-body table-responsive"  style="height:300px; overflow-x:hidden; overflow-y:scroll">
                            

                            <asp:GridView ID="Grid1" runat="server"  class="table table-hover"  
          AutoGenerateColumns="False" DataKeyNames="CompanyId" 
           onselectedindexchanged="Grid1_SelectedIndexChanged" >

          <Columns>
              <asp:TemplateField HeaderText="Select">
                 <HeaderStyle CssClass="tdsubcellheadingfont" ForeColor="Black" Height="21px" Width="30px" />
                  <ItemTemplate>
                      <asp:CheckBox ID="cbRows" runat="server" />
                  </ItemTemplate>
                  
              </asp:TemplateField>
              <asp:HyperLinkField DataNavigateUrlFields="CompanyId"  ControlStyle-ForeColor="#006699"
                  DataNavigateUrlFormatString="Company.aspx?RowId={0}" 
                  DataTextField="CompanyName" HeaderText="Company" 
                  SortExpression="Companyname">
             

             
              </asp:HyperLinkField>
             <asp:BoundField DataField="PhoneNo" HeaderText="Phone No" SortExpression="PhoneNo">
                
            </asp:BoundField>
            <asp:BoundField DataField="EmailId" HeaderText="EmailId" SortExpression="EmailId">
                
            </asp:BoundField>
        </Columns>
        </asp:GridView>
  
      
      

                        </div>
                        
                      <%--  </div>
                                               
                            </div>--%>
                   


        
   
  <center  >
       
             <div class="row" style="margin-bottom:20px;; margin-left:auto; margin-right:auto; display:table; margin-top:15px;">
                
                                			
        <asp:Button ID="Atbadd" runat="server" Text="Add " onclick="Atbadd_Click" 
        type="button" class="btn btn-success " /><i class="fa fa-plus;"></i>&nbsp;&nbsp;
        <asp:Button ID="BtnDel" runat="server" type="button" Text="Delete" onclick="BtnDel_Click" 
           class="btn btn-danger"
           /><i  class="fa fa-trash-o;"></i>&nbsp;&nbsp;
        <asp:Button ID="Button1" runat="server" 
            Text="close" class=" btn btn-danger"
            onclick="Button1_Click"  /><i></i>

            </div>


            </center>
  
            </div>
             </div>
             </div>
              <script src="js/jquery-1.8.3.min.js"
       type="text/javascript"></script>

</asp:Content>

